
* {
 box-sizing: border-box;
}

body {
  margin: 0;
}

.section-work{color: black; padding-top:4vh; padding-bottom: 20vh;}
.section-work .container{padding: 4vh 0;}
.section-work heading-block{text-align: center;}
.column{background: gray;}

.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  width:80%;
  margin: auto;
}

.row img {
  margin-top: 8px;
  vertical-align: middle;
  max-width: 100%;
}

/* we need a min-width and a max-width section to work with the images.php call*/
@media screen and (min-width: 600px) {

/* Create one column  */
  .column {
    -ms-flex: 100%; /* IE10 */
    flex-basis: 100%;
    max-width: 100%;
    padding: 0 4px;
  }

  /* Create two equal columns that sits next to each other */
  .twocolumn{
    -ms-flex: 50%; /* IE10 */
    flex-basis: 50%;
    max-width: 50%;
    padding: 0 4px;
  }

  .threecolumn {
    -ms-flex: 33%; /* IE10 */
    flex-basis: 33%;
    max-width: 33%;
    padding: 0 4px;
  }

  .fourcolumn {
    -ms-flex: 25%; /* IE10 */
    flex-basis: 25%;
    max-width: 25%;
    padding: 0 4px;
  }

  .fivecolumn {
    -ms-flex: 20%; /* IE10 */
    flex-basis: 20%;
    max-width: 20%;
    padding: 0 4px;
  }

}

/* we need a min-width and a max-width section to work with the images.php call */
/* Responsive layout - handhelds */
@media screen and (max-width: 600px) {

  .column, .twocolumn, .threecolumn, .fourcolumn, .fivecolumn, 
   {
    -ms-flex: 100%;
    flex-basis: 100%;
    width: 100%;     
  }
/*  
  .row img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
*/
}

